package com.olive.service;

import org.springframework.stereotype.Service;

import com.olive.config.SysUser;

@Service
public class SysUserService {

	public SysUser selectUserByUserName(String username) {
		//TODO 从数据库获取用户
		
		SysUser sysUser = new SysUser();
		sysUser.setUserName("admin");
		sysUser.setUserId(1L);
		sysUser.setDelFlag("0");
		sysUser.setStatus("0");
		sysUser.setPassword("$2a$10$7JB720yubVSZvUI0rEqK/.VqGOZTH.ulu33dHOiBE8ByOhJIrdAu2");
		return sysUser;
	}

}
